<?php if (!defined('THINK_PATH')) exit(); define("URL","/Application/Home/View/shop/"); if(empty($_COOKIE['admin_user'])){ header("location:".URL.'login.php'); } ?>